import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from 'axios'
import utils from '@/utils'
import { baseUrl } from "@/http/env.js";
import ElementUI from 'element-ui'
import VueLoading from 'vue-loading-template'
import routerFilter from './router/filter.js'
import httpInterceptors from './http'
Vue.prototype.$http = Axios
Vue.prototype.$utils = utils
Vue.prototype.$baseUrl = baseUrl
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(routerFilter)
Vue.use(httpInterceptors)
Vue.use(VueLoading, {
  type: 'spin',
  color: '#32CD32',
  size: { width: '40px', height: '40px' }
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
